scrollbar: update style properties on GtkRange at init
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 22 Oct 2012 15:42:55 +0000 (11:42 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 22 Oct 2012 15:48:04 +0000 (11:48 -0400)
commitef027c93d49e2e31ccb8c181d0096c705c141906
treec9514e4797bdb683dc8b04c811364e2ef2965e77
parent247bc3ad6940bb8fcd3860697df5ebac2281eee6
scrollbar: update style properties on GtkRange at init

GtkScrollbar used to rely on style-updated being emitted every time
after the widget was created in order to set the right values from its
style properties on GtkRange.
Nowadays we try to be smarter and avoid emitting style-updated at
creation time, so we need to manually initialize the GtkRange values.

This fixes a regression from 35e36b9fe506143f722a00f26a86143f9c95b740.

https://bugzilla.gnome.org/show_bug.cgi?id=686280
gtk/gtkscrollbar.c